// 导入封装好的网络请求类工具
import request from '../../../../utils/request';
// 封装各种接口请求
// export const 接口名 = () => Network.get('/路由',参数对象);
//钻井液性能保存数据 
export const EditMudProperty = (form) => {
        return request({
            url: `/mudProperty/updateMudProperty`,
            method: 'post',
            data: form
        })
    }
    //钻井液性能删除数据
export const DeleteMudProperty = (mudpropertyid) => {
        return request({
            url: `/mudProperty/deleteMudProperty/?mudpropertyid=${mudpropertyid}`,
            method: 'get'
        })
    }
    //钻井液性能查询数据 
export const FindMudPropertyByCondition = (wellQueryCondition) => {
        return request({
            url: '/mudProperty/listMudProperty',
            method: 'post',
            data: wellQueryCondition
        })
    }
    //钻井液新增数据 
export const InsertMudProperty = (form) => {
    return request({
        url: "/mudProperty/insertMudProperty",
        method: "post",
        data: form
    })
}